//
//  YBCustomGroupHeadView.h
//  GongXinDangJian
//
//  Created by apple on 17/12/5.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YBSelectHeadModel.h"

@protocol YBCustomGroupHeadViewDelegate <NSObject>

-(void)ybCustomGroupHeadViewDidClickWithSection:(NSInteger)section isOpen:(BOOL)isOpen;

@end

@interface YBCustomGroupHeadView : UITableViewHeaderFooterView
@property (nonatomic , assign) BOOL isOpen;

@property (nonatomic , assign) NSInteger ybSection;

@property (nonatomic , strong) YBSelectHeadModel * model;

@property (nonatomic , strong) UIButton * selectButton;

@property (nonatomic , assign) id<YBCustomGroupHeadViewDelegate> delegate;
@end
